.editorTextAreaContainer {
  height: 8rem;
  position: relative;
  width: 100%;
  padding-right: 1rem;
}

.editorTextAreaContainer textarea {
  background-color: var(--goff-editor-form-bg);
  border-radius: 0.25rem;
  border: 0;
  box-sizing: border-box;
  height: 100%;
  outline: 0;
  width: 100%;
  font-size: 1rem;
}

.editorCut {
  background-color: var(--goff-editor-container-bg);
  border-radius: 1rem;
  height: 1.1rem;
  left: 0.5rem;
  position: absolute;
  top: -1.1rem;
  transform: translateY(0);
  transition: transform 200ms;
  width: 5rem;
}

.error {
  border: 0.1rem solid var(--goff-message-error);
}

.editorPlaceholder {
  color: var(--goff-editor-input-placeholder);
  font-family: sans-serif;
  left: 0.5rem;
  line-height: 1rem;
  pointer-events: none;
  position: absolute;
  transform-origin: 0 50%;
  transition: transform 200ms, color 200ms;
  top: 0.6rem;
}

.editorTextArea:focus ~ .editorCut,
.editorTextArea:not(:placeholder-shown) ~ .editorCut {
  transform: translateY(0.3rem);
}

.editorTextArea:focus ~ .editorPlaceholder,
.editorTextArea:not(:placeholder-shown) ~ .editorPlaceholder {
  transform: translateY(-1.3rem) translateX(0.5rem) scale(0.75);
}

.editorTextArea:not(:placeholder-shown) ~ .editorPlaceholder {
  color: var(--goff-editor-input-text);
}

.editorTextArea:focus ~ .editorPlaceholder {
  color: var(--goff-editor-placeholder);
}

.editorTextAreaContainer .errorMessage {
  width: 100%;
  text-align: right;
  color: var(--goff-message-error);
  font-family: sans-serif;
  line-height: 1rem;
  pointer-events: none;
  position: absolute;
  top: -1rem;
  padding-right: 1rem;
  font-size: 0.8rem;
}
